a=input("请选择图形：（爱心，皮卡丘，星空，发射爱心，樱花，玫瑰，小猪佩奇，哆啦A梦）")
b=input("请输入文字：")

if a=="爱心":
    import turtle
    turtle.setup(1000,1000,200,200)
    turtle.pensize(1)
    turtle.pencolor('red')
    turtle.fillcolor('pink')
    turtle.speed(5)
    turtle.penup()
    turtle.goto(-30,100)
    turtle.pendown()
    turtle.begin_fill ()
    turtle.left (90)
    turtle.circle(120,180)
    turtle.circle(360,70)
    turtle.left(38)
    turtle.circle(360,70)
    turtle.circle(120,180)
    turtle.end_fill()
    turtle.penup()
    turtle.goto(-100,-100)
    turtle.penup()
    turtle.goto(-100,10)
    turtle.write(b,move = True, align="left", font=("楷体", 30, "bold"))
    turtle.done()

if a=="皮卡丘":
   from turtle import *
   import turtle as t
   from random import *
   def infoPrt():
      print('coordinate: ' + str(t.pos()))
      print('angle: ' + str(t.heading()))
   t.pensize(3)
   t.hideturtle()
   t.colormode(255)
   t.color("black")
   t.setup(700, 650)
   t.speed(50)
   t.st()
   t.pu()
   t.goto(-210,86)
   t.pd()
   infoPrt()
   t.seth(85)
   t.circle(-100,50)
   infoPrt()
   t.seth(25)
   t.circle(-170,50)
   infoPrt()
   t.seth(40)
   t.circle(-250,30)
   infoPrt()
   t.begin_fill()
   t.circle(-250,22)
   t.seth(227)
   t.circle(-270, 15)
   prePos = t.pos()
   infoPrt()
   t.seth(105)
   t.circle(100, 32)
   t.end_fill()
   t.pu()
   t.setpos(prePos)
   t.pd()
   t.seth(212)
   t.circle(-270, 28)
   prePos = t.pos()
   t.pu()
   t.goto(t.xcor()+5,t.ycor()-2)
   t.pd()
   t.seth(280)
   t.circle(500, 30)
   infoPrt()
   t.seth(120)
   t.circle(150, -11)
   p_tail=t.pos()
   t.circle(150, -44)
   p_butt=t.pos()
   infoPrt()
   t.pu()
   t.setpos(p_tail)
   t.pd()
   t.begin_fill()
   t.seth(50)
   t.fd(25)
   t.seth(-50)
   t.fd(30)
   p_tail1=t.pos
   t.seth(-140)
   t.fd(36)
   t.end_fill()
   t.seth(39)
   t.fd(72)
   t.seth(125)
   t.fd(48)
   t.seth(40)
   t.fd(53)
   t.seth(88)
   t.fd(45)
   t.seth(35)
   t.fd(105)
   t.seth(105)
   t.circle(850, 8)
   t.seth(215)
   t.circle(850, 11)
   t.seth(280)
   t.fd(110)
   t.seth(220)
   t.fd(50)
   t.seth(309)
   t.fd(56)
   t.pu()
   t.setpos(p_butt)
   t.pd()
   t.seth(20)
   t.circle(120, -45)
   infoPrt()
   t.seth(330)
   t.circle(-150, -30)
   infoPrt()
   prePos = t.pos()
   t.pu()
   t.goto(t.xcor()+20,t.ycor())
   t.pd()
   t.seth(230)
   t.circle(-70, 120)
   p_bot=t.pos()
   t.pu()
   t.setpos(p_butt)
   t.setpos(t.xcor()+5,t.ycor()+5)
   t.pd()
   t.seth(-86)
   t.fd(30)
   t.seth(-93)
   t.fd(33)
   t.seth(-225)
   t.circle(-150, 22)
   t.pu()
   t.setpos(p_bot)
   t.setpos(t.xcor()+85,t.ycor()-43)
   t.pd()
   t.seth(-105)
   t.fd(50)
   t.seth(-225)
   t.circle(-150, 22)
   t.pu()
   t.setpos(p_bot)
   t.pd()
   t.seth(90)
   t.circle(450, 13)
   p_lfhd = t.pos()
   t.circle(450, 5)
   t.pu()
   t.circle(450, 5)
   t.pd()
   t.circle(450, 6)
   infoPrt()
   t.begin_fill()
   t.fillcolor("pink")
   t.seth(330)
   t.circle(50, -90)
   infoPrt()
   t.seth(30)
   t.circle(-15, 120)
   t.seth(-70)
   t.circle(-30, 90)
   t.end_fill()
   t.pu()
   t.setpos(p_lfhd)
   t.pd()
   t.seth(160)
   t.circle(150, 30)
   infoPrt()
   t.seth(180)
   t.circle(-30, 150)
   t.fd(67)
   t.pu()
   t.setpos(t.xcor()-40,t.ycor()-60)
   t.pd()
   t.seth(200)
   t.circle(-5, 180)
   t.pu()
   t.setpos(p_lfhd)
   t.setpos(t.xcor()+180,t.ycor()+5)
   t.pd()
   t.seth(200)
   t.circle(-50, 100)
   t.pu()
   t.circle(-50, 15)
   t.pd()
   t.circle(-50, 65)
   t.pu()
   t.setpos(t.xcor()+10,t.ycor()-45)
   t.pd()
   t.seth(80)
   t.fd(10)
   t.seth(165)
   t.circle(10, 60)
   t.seth(90)
   t.fd(5)
   t.seth(165)
   t.circle(10, 60)
   t.seth(95)
   t.fd(5)
   t.seth(185)
   t.circle(10, 60)
   t.seth(105)
   t.fd(10)
   t.seth(230)
   t.fd(20)
   t.seth(145)
   t.fd(10)
   t.seth(285)
   t.fd(20)
   t.begin_fill()
   t.fillcolor("pink")
   t.pu()
   t.setpos(t.xcor()-40,t.ycor()+110)
   t.pd()
   t.circle(27, 360)
   t.end_fill()
   t.color("black")
   penup()
   goto(-100, 72)
   pendown()
   begin_fill()
   setheading(260)
   forward(60)
   circle(-11, 150)
   forward(55)
   print(position())
   penup()
   goto(-128.46, 71.97)
   pendown()
   end_fill()
   color("#6A070D", "#6A070D")
   begin_fill()
   penup()
   goto(-99.00, 72.00)
   pendown()
   penup()
   goto(-104.29, 48.3)
   pendown()
   penup()
   goto(-142, 45)
   pendown()
   penup()
   goto(-150.40, 62.74)
   pendown()
   penup()
   goto(-128.46, 71.97)
   pendown()
   penup()
   goto(-99.00, 72.00)
   pendown()
   end_fill()
   color("black","#FFD624")
   penup()
   goto(-168, 65)
   pendown()
   begin_fill()
   setheading(-25)
   for i in range(2):
       setheading(-25)
       circle(35, 70)
   end_fill()
   color("#AB1945", "#AB1945")
   penup()
   goto(-142, 45)
   pendown()
   begin_fill()
   setheading(40)
   circle(-33, 70)
   goto(-104,48.3)
   penup()
   goto(-108,33)
   pendown()
   setheading(155)
   circle(25, 70)
   end_fill()
   t.pu()
   t.color("black")
   t.setpos(t.xcor()-40,t.ycor()+90)
   t.pd()
   t.circle(5)
   t.pu()
   t.setpos(t.xcor()+5,t.ycor()+10)
   t.pd()
   t.begin_fill()
   t.seth(190)
   t.circle(15, 130)
   t.seth(310)
   t.circle(10, 15)
   t.seth(0)
   t.circle(17, 133)
   t.seth(90)
   t.circle(10, 15)
   t.end_fill()
   t.pu()
   t.setpos(t.xcor()+2,t.ycor()-15)
   t.pd()
   t.color("white")
   t.begin_fill()
   t.circle(5)
   t.end_fill()
   t.pu()
   t.setpos(t.xcor()+85,t.ycor()+15)
   t.pd()
   t.color("black")
   t.circle(5)
   t.pu()
   t.setpos(t.xcor()+5,t.ycor()+10)
   t.pd()
   t.begin_fill()
   t.seth(190)
   t.circle(20, 130)
   t.seth(310)
   t.circle(10, 15)
   t.seth(0)
   t.circle(22, 133)
   t.seth(90)
   t.circle(13, 15)
   t.end_fill()
   t.pu()
   t.setpos(t.xcor()-7,t.ycor()-15)
   t.pd()
   t.color("white")
   t.begin_fill()
   t.circle(7)
   t.end_fill()
   t.color("black")
   t.pu()
   t.goto(-210,86)
   t.setpos(t.xcor()+15,t.ycor()+38)
   t.pd()
   t.seth(90)
   t.circle(-250,30)
   t.begin_fill()
   t.circle(-250,18)
   t.seth(270)
   t.circle(-270, 12)
   prePos = t.pos()
   t.seth(180)
   t.circle(100, 30)
   t.end_fill()
   t.pu()
   t.setpos(prePos)
   t.pd()
   t.seth(270)
   t.circle(-270, 18)
   t.screensize(50,50,bg='yellow')
   printer = t.Turtle()
   printer.hideturtle()
   printer.penup()
   printer.goto(-300,-200)
   printer.write(b,move = True, align="left", font=("楷体", 30, "bold"))
   t.hideturtle()
   t.done()

if a=="星空":
    import turtle as t
    import random
    t.pensize(1)
    t.speed(1000)
    t.delay(1)
    t.hideturtle()
    t.screensize(800,800,'black')
    def stars(x,y,left_angle,edge_len):
        t.pencolor('yellow')
        t.fillcolor('yellow')
        t.speed(1000)
        t.penup()
        t.goto(x,y)
        t.begin_fill()
        t.pendown()
        t.left(left_angle)
        for _ in range(5):
            t.forward(edge_len)
            t.right(144)
        t.end_fill()
        t.left(-left_angle)
    for _ in range(300):
        x=random.randint(-450,450)
        y=random.randint(0,400)
        edge_len=random.randint(3,8)
        left_angle=random.randint(0,180)
        t.pencolor('yellow')
        t.fillcolor('yellow')
        t.speed(1000)
        t.penup()
        t.goto(x,y)
        t.begin_fill()
        t.pendown()
        t.left(left_angle)
        for _ in range(5):
            t.forward(edge_len)
            t.right(144)
        t.end_fill()
        t.left(-left_angle)
    t.penup()
    t.goto(150,-200)
    t.pendown()
    t.write(b,move = True, align="left", font=("楷体", 30, "bold")) 
    t.exitonclick
    
if a=="发射爱心":
    from turtle import *
    from time import sleep
    def go_to(x, y):
        up()
        goto(x, y)
        down()
    def head(x,y,r):
        go_to(x,y)
        speed(10)
        circle(r)
        leg(x,y)
    def leg(x,y):
        right(90)
        forward(180)
        right(30)
        forward(100)
        left(120)
        go_to(x,y-180)
        forward(100)
        right(120)
        forward(100)
        left(120)
        hand(x,y)
    def hand(x,y):
        go_to(x,y-60)
        forward(100)
        left(60)
        forward(100)
        go_to(x, y - 90)
        right(60)
        forward(100)
        right(60)
        forward(100)
        left(60)
        eye(x,y)
    def eye(x,y):
        go_to(x-50,y+130)
        right(90)
        forward(50)
        go_to(x+40,y+130)
        forward(50)
        left(90)
    def big_Circle(size):
        speed(200)
        for i in range(150):
            forward(size)
            right(0.3)
    def line(size):
        speed(200)
        forward(51*size)
    def small_Circle(size):
        speed(200)
        for i in range(210):
            forward(size)
            right(0.786)
    def heart(x, y, size):
        speed(200)
        go_to(x, y)
        left(150)
        begin_fill()
        line(size)
        big_Circle(size)
        small_Circle(size)
        left(120)
        small_Circle(size)
        big_Circle(size)
        line(size)
        end_fill()
    def main():
        pensize(2)
        color('red', 'pink')
        head(-120, 100, 100)
        heart(250, -80, 1)
        go_to(200, -200)
        write(b,move = True, align="left", font=("楷体", 30, "bold")) 
        done()
    main()
 
if a=="樱花":
    import turtle as T
    import random
    import time
    def Tree(branch, t):
        time.sleep(0.0001)
        if branch > 3:
            if 8 <= branch <= 12:
                if random.randint(0, 2) == 0:
                    t.color('snow')  
                else:
                    t.color('lightcoral')  
                t.pensize(branch / 3)
            elif branch < 8:
                if random.randint(0, 1) == 0:
                    t.color('snow')
                else:
                    t.color('lightcoral')
                t.pensize(branch / 2)
            else:
                t.color('sienna') 
                t.pensize(branch / 10)  
            t.forward(branch)
            a = 1.5 * random.random()
            t.right(20 * a)
            b = 1.5 * random.random()
            Tree(branch - 10 * b, t)
            t.left(40 * a)
            Tree(branch - 10 * b, t)
            t.right(20 * a)
            t.up()
            t.backward(branch)
            t.down()
    def Petal(m, t):
        for i in range(m):
            a = 200 - 400 * random.random()
            b = 10 - 20 * random.random()
            t.up()
            t.forward(b)
            t.left(90)
            t.forward(a)
            t.down()
            t.color('lightcoral') 
            t.circle(1)
            t.up()
            t.backward(a)
            t.right(90)
            t.backward(b)
    t = T.Turtle()
    w = T.Screen()
    t.hideturtle()  
    t.getscreen().tracer(5, 0)
    w.screensize(bg='wheat')  
    t.left(90)
    t.up()
    t.backward(150)
    t.down()
    t.color('sienna')
    Tree(60, t)
    Petal(200, t)
    t.color('sienna')
    t.write(b,move = True, align="left", font=("楷体", 30, "bold"))  
    w.exitonclick()

if a=="玫瑰":
    from turtle import *
    import time
    setup(600, 800, 0, 0)
    speed(0)
    penup()
    seth(90)
    fd(340)
    seth(0)
    pendown()
    speed(5)
    begin_fill()
    fillcolor('red')
    circle(50, 30)
    for i in range(10):
        fd(1)
        left(10)
    circle(40, 40)
    for i in range(6):
        fd(1)
        left(3)
    circle(80, 40)
    for i in range(20):
        fd(0.5)
        left(5)
    circle(80, 45)
    for i in range(10):
        fd(2)
        left(1)
    circle(80, 25)
    for i in range(20):
        fd(1)
        left(4)
    circle(50, 50)
    time.sleep(0.1)
    circle(120, 55)
    speed(0)
    seth(-90)
    fd(70)
    right(150)
    fd(20)
    left(140)
    circle(140, 90)
    left(30)
    circle(160, 100)
    left(130)
    fd(25)
    penup()
    right(150)
    circle(40, 80)
    pendown()
    left(115)
    fd(60)
    penup()
    left(180)
    fd(60)
    pendown()
    end_fill()
    right(120)
    circle(-50, 50)
    circle(-20, 90)
    speed(1)
    fd(75)
    speed(0)
    circle(90, 110)
    penup()
    left(162)
    fd(185)
    left(170)
    pendown()
    circle(200, 10)
    circle(100, 40)
    circle(-52, 115)
    left(20)
    circle(100, 20)
    circle(300, 20)
    speed(1)
    fd(250)
    penup()
    speed(0)
    left(180)
    fd(250)
    circle(-300, 7)
    right(80)
    circle(200, 5)
    pendown()
    left(60)
    begin_fill()
    fillcolor('green')
    circle(-80, 100)
    right(90)
    fd(10)
    left(20)
    circle(-63, 127)
    end_fill()
    penup()
    left(50)
    fd(20)
    left(180)
    pendown()
    circle(200, 25)
    penup()
    right(150)
    fd(180)
    right(40)
    pendown()
    begin_fill()
    fillcolor('green')
    circle(-100, 80)
    right(150)
    fd(10)
    left(60)
    circle(-80, 98)
    end_fill()
    penup()
    left(60)
    fd(13)
    left(180)
    pendown()
    speed(1)
    circle(-50, 23)
    write(b,move = True, align="left", font=("楷体", 30, "bold"))   
    exitonclick()
 
if a=="小猪佩奇":
    from turtle import*
    def nose(x,y):
        penup()
        goto(x,y)
        pendown()
        setheading(-30)
        begin_fill()
        a=0.4
        for i in range(120):
            if 0<=i<30 or 60<=i<90:
                a=a+0.08
                left(3) 
                forward(a) 
            else:
                a=a-0.08
                left(3)
                forward(a)
        end_fill()
        penup()
        setheading(90)
        forward(25)
        setheading(0)
        forward(10)
        pendown()
        pencolor(255,155,192)
        setheading(10)
        begin_fill()
        circle(5)
        color(160,82,45)
        end_fill()
        penup()
        setheading(0)
        forward(20)
        pendown()
        pencolor(255,155,192)
        setheading(10)
        begin_fill()
        circle(5)
        color(160,82,45)
        end_fill()
    def head(x,y):#头
        color((255,155,192),"pink")
        penup()
        goto(x,y)
        setheading(0)
        pendown()
        begin_fill()
        setheading(180)
        circle(300,-30)
        circle(100,-60)
        circle(80,-100)
        circle(150,-20)
        circle(60,-95)
        setheading(161)
        circle(-300,15)
        penup()
        goto(-100,100)
        pendown()
        setheading(-30)
        a=0.4
        for i in range(60):
            if 0<=i<30 or 60<=i<90:
                a=a+0.08
                lt(3) #向左转3度
                fd(a) #向前走a的步长
            else:
                a=a-0.08
                lt(3)
                fd(a)
        end_fill()
    def ears(x,y): #耳朵
        color((255,155,192),"pink")
        penup()
        goto(x,y)
        pendown()
        begin_fill()
        setheading(100)
        circle(-50,50)
        circle(-10,120)
        circle(-50,54)
        end_fill()
        penup()
        setheading(90)
        forward(-12)
        setheading(0)
        forward(30)
        pendown()
        begin_fill()
        setheading(100)
        circle(-50,50)
        circle(-10,120)
        circle(-50,56)
        end_fill()
    def eyes(x,y):#眼睛
        color((255,155,192),"white")
        penup()
        setheading(90)
        forward(-20)
        setheading(0)
        forward(-95)
        pendown()
        begin_fill()
        circle(15)
        end_fill()
        color("black")
        penup()
        setheading(90)
        forward(12)
        setheading(0)
        forward(-3)
        pendown()
        begin_fill()
        circle(3)
        end_fill()
        color((255,155,192),"white")
        penup()
        seth(90)
        forward(-25)
        seth(0)
        forward(40)
        pendown()
        begin_fill()
        circle(15)
        end_fill()
        color("black")
        penup()
        setheading(90)
        forward(12)
        setheading(0)
        forward(-3)
        pendown()
        begin_fill()
        circle(3)
        end_fill()
    def cheek(x,y):#腮
        color((255,155,192))
        penup()
        goto(x,y)
        pendown()
        setheading(0)
        begin_fill()
        circle(30)
        end_fill()
    def mouth(x,y): #嘴
        color(239,69,19)
        penup()
        goto(x,y)
        pendown()
        setheading(-80)
        circle(30,40)
        circle(40,80)
    def body(x,y):#身体
        color("red",(255,99,71))
        penup()
        goto(x,y)
        pendown()
        begin_fill()
        setheading(-130)
        circle(100,10)
        circle(300,30)
        setheading(0)
        forward(230)
        setheading(90)
        circle(300,30)
        circle(100,3)
        color((255,155,192),(255,100,100))
        setheading(-135)
        circle(-80,63)
        circle(-150,24)
        end_fill()
    def hands(x,y):#手
        color((255,155,192))
        penup()
        goto(x,y)
        pendown()
        setheading(-160)
        circle(300,15)
        penup()
        setheading(90)
        forward(15)
        setheading(0)
        forward(0)
        pendown()
        setheading(-10)
        circle(-20,90)
        penup()
        setheading(90)
        forward(30)
        setheading(0)
        forward(237)
        pendown()
        setheading(-20)
        circle(-300,15)
        penup()
        setheading(90)
        forward(20)
        setheading(0)
        forward(0)
        pendown()
        setheading(-170)
        circle(20,90)
    def foot(x,y):#脚
        pensize(10)
        color((240,128,128))
        penup()
        goto(x,y)
        pendown()
        setheading(-90)
        forward(40)
        setheading(-180)
        color("black")
        pensize(15)
        fd(20)
        pensize(10)
        color((240,128,128))
        penup()
        setheading(90)
        forward(40)
        setheading(0)
        forward(90)
        pendown()
        setheading(-90)
        forward(40)
        setheading(-180)
        color("black")
        pensize(15)
        fd(20)
    def tail(x,y):#尾巴
        pensize(4)
        color((255,155,192))
        penup()
        goto(x,y)
        pendown()
        seth(0)
        circle(70,20)
        circle(10,330)
        circle(70,30)
    def setting():
        pensize(4)
        hideturtle()
        colormode(255)
        color((255,155,192),"pink")
        setup(840,500)
        speed(100)
    def main():
        setting()       
        nose(-100,100)      
        head(-69,167)       
        ears(0,160)         
        eyes(0,140)         
        cheek(80,10)        
        mouth(-20,30)       
        body(-32,-8)        
        hands(-56,-45)      
        foot(2,-177)        
        tail(148,-155)      
        write(b,move = True, align="left", font=("楷体", 30, "bold"))
        done()
    if __name__ == '__main__':
        main()

    
if a=="哆啦A梦":
    from turtle import *
    def my_goto(x, y):
        penup()
        goto(x, y)
        pendown()
    def eyes():
        tracer(False)
        a = 2.5
        for i in range(120):
            if 0 <= i < 30 or 60 <= i < 90:
                 a -= 0.05
                 lt(3)
                 fd(a)
            else:
                a += 0.05
                lt(3)
                fd(a)
        tracer(True)

    def beard():
        my_goto(-37, 135)
        seth(165)
        fd(60)
        my_goto(-37, 125)
        seth(180)
        fd(60)
        my_goto(-37, 115)
        seth(193)
        fd(60)
        my_goto(37, 135)
        seth(15)
        fd(60)
        my_goto(37, 125)
        seth(0)
        fd(60)
        my_goto(37, 115)
        seth(-13)
        fd(60)
    def mouth():
        my_goto(5, 148)
        seth(270)
        fd(100)
        seth(0)
        circle(120, 50)
        seth(230)
        circle(-120, 100)
    def scarf():
        fillcolor('#e70010')
        begin_fill()
        seth(0)
        fd(200)
        circle(-5, 90)
        fd(10)
        circle(-5, 90)
        fd(207)
        circle(-5, 90)
        fd(10)
        circle(-5, 90)
        end_fill()
    def nose():
        my_goto(-10, 158)
        fillcolor('#e70010')
        begin_fill()
        circle(20)
        end_fill()
    def black_eyes():
        seth(0)
        my_goto(-20, 195)
        fillcolor('#000000')
        begin_fill()
        circle(13)
        end_fill()
        pensize(6)
        my_goto(20, 205)
        seth(75)
        circle(-10, 150)
        pensize(3)
        my_goto(-17, 200)
        seth(0)
        fillcolor('#ffffff')
        begin_fill()
        circle(5)
        end_fill()
        my_goto(0, 0)
    def face():
        fd(183)
        fillcolor('#ffffff')
        begin_fill()
        lt(45)
        circle(120, 100)
        seth(90)
        eyes()
        seth(180)
        penup()
        fd(60)
        pendown()
        seth(90)
        eyes()
        penup()
        seth(180)
        fd(64)
        pendown()
        seth(215)
        circle(120, 100)
        end_fill()
    def head():
        penup()
        circle(150, 40)
        pendown()
        fillcolor('#00a0de')
        begin_fill()
        circle(150, 280)
        end_fill()
    def Doraemon():
        head()
        scarf()
        face()
        nose()
        mouth()
        beard()
        my_goto(0, 0)
        seth(0)
        penup()
        circle(150, 50)
        pendown()
        seth(30)
        fd(40)
        seth(70)
        circle(-30, 270)
        fillcolor('#00a0de')
        begin_fill()
        seth(230)
        fd(80)
        seth(90)
        circle(1000, 1)
        seth(-89)
        circle(-1000, 10)
        seth(180)
        fd(70)
        seth(90)
        circle(30, 180)
        seth(180)
        fd(70)
        seth(100)
        circle(-1000, 9)
        seth(-86)
        circle(1000, 2)
        seth(230)
        fd(40)
        circle(-30, 230)
        seth(45)
        fd(81)
        seth(0)
        fd(203)
        circle(5, 90)
        fd(10) 
        circle(5, 90)
        fd(7)
        seth(40)
        circle(150, 10)
        seth(30)
        fd(40)
        end_fill()
        seth(70)
        fillcolor('#ffffff')
        begin_fill()
        circle(-30)
        end_fill()
        my_goto(103.74, -182.59)
        seth(0)
        fillcolor('#ffffff')
        begin_fill()
        fd(15)
        circle(-15, 180)
        fd(90)
        circle(-15, 180)
        fd(10)
        end_fill()
        my_goto(-96.26, -182.59)
        seth(180)
        fillcolor('#ffffff')
        begin_fill()
        fd(15)
        circle(15, 180)
        fd(90)
        circle(15, 180)
        fd(10)
        end_fill()
        my_goto(-133.97, -91.81)
        seth(50)
        fillcolor('#ffffff')
        begin_fill()
        circle(30)
        end_fill()
        my_goto(-103.42, 15.09)
        seth(0)
        fd(38)
        seth(230)
        begin_fill()
        circle(90, 260)
        end_fill()
        my_goto(5, -40)
        seth(0)
        fd(70)
        seth(-90)
        circle(-70, 180)
        seth(0)
        fd(70)
        my_goto(-103.42, 15.09)
        fd(90)
        seth(70)
        fillcolor('#ffd200')
        begin_fill()
        circle(-20)
        end_fill()
        seth(170)
        fillcolor('#ffd200')
        begin_fill()
        circle(-2, 180)
        seth(10)
        circle(-100, 22)
        circle(-2, 180)
        seth(180-10)
        circle(100, 22)
        end_fill()
        goto(-13.42, 15.09)
        seth(250)
        circle(20, 110)
        seth(90)
        fd(15)
        dot(10)
        my_goto(0, -150)
        black_eyes()
    if __name__ == '__main__':
        screensize(800,600, "#f0f0f0")
        pensize(3)  
        speed(100)   
        Doraemon()
        my_goto(230, -300)
        my_goto(230,200)
        penup()
        goto(120,-180)
        pendown()
        write(b,move = True, align="left", font=("楷体", 30, "bold"))
        mainloop()
    
